package com.xca.is.entity;

public class Translation {
    private int code;
    private DataDTO data;
    private String processTime;
    private String url;
    private String time;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public String getProcessTime() {
        return processTime;
    }

    public void setProcessTime(String processTime) {
        this.processTime = processTime;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public static class DataDTO {
        private String source_lang;
        private String target_lang;
        private String translate_result;

        public String getSource_lang() {
            return source_lang;
        }

        public void setSource_lang(String source_lang) {
            this.source_lang = source_lang;
        }

        public String getTarget_lang() {
            return target_lang;
        }

        public void setTarget_lang(String target_lang) {
            this.target_lang = target_lang;
        }

        public String getTranslate_result() {
            return translate_result;
        }

        public void setTranslate_result(String translate_result) {
            this.translate_result = translate_result;
        }
    }

/*    private int code;
    private String data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }*/
}
